package cn.ly.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "设备")
public class Info implements Serializable {
    @TableId(value="i_id",type = IdType.AUTO)
    @ApiModelProperty(name = "iId",value = "设备id")
    private Integer iId;
    @ApiModelProperty(name = "iAdmin",value = "管理员")
    private String iAdmin;
    @ApiModelProperty(name = "iDevicecateId",value = "设备种类id")
    private Integer iDevicecateId;
    @ApiModelProperty(name = "iStage",value = "状态")
    private String iStage;
    @ApiModelProperty(name = "iRepairStage",value = "维护状态")
    private String iRepairStage;
    @ApiModelProperty(name = "iArea",value = "地区")
    private String iArea;
    @ApiModelProperty(name = "iRepairTime",value = "维护完成时间")
    private Date iRepairTime;
    @ApiModelProperty(name = "iFaultTime",value = "故障时间")
    private Date iFaultTime;

    @ApiModelProperty(name = "iName",value = "设备名")
    private String iName;
    @ApiModelProperty(name = "iStateCode",value = "报警数")
    private Integer iStateCode;
    private Date iCreateTime;

    private Date iUpdateTime;

    private Date iDeleteTime;




    private Equipment equipment;

    private static final long serialVersionUID = 1L;

}